home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-06-04 | 1.3 KB | 36 lines | [TEXT/MPS ] |
- #
- # File: ProcessTool.vulib
- #
- # Contents: ProcessTool interface.
- #
- # Copyright © 1992 Apple Computer, Inc. All rights reserved.
- #
- # Note: The TeachText file “ProcessTool ReadMe” explains the services that ProcessTool
- # provides, and lists what each service takes as arguments and returns as results.
- # (For the services common to all Virtual User external tools, see the Virtual
- # User Language Reference manual.) The script file “ProcessTool Sample.vu"
- # provides a few simple examples in using the ProcessTool.
- #
-
- tool ProcessTool s:'VUPT'
- begin
- # Services specific to ProcessTool:
- Service "ProcessNamesList"() return 'list';
- Service "FrontProcessName"() return 'string';
- Service "PartitionSize"( 'string' ) return 'string';
- Service "FreeMem"( 'string' ) return 'string';
- Service "ReadByte"( 'undefined' ) return 'integer';
- Service "ReadBlock"( 'undefined', 'integer' ) return 'list';
-
- # Services common to all Virtual User external tools:
- Service "Initialize"( 'undefined' ); # pass TRUE for target, FALSE for host
- Service "Cancel"( 'string' );
- Service "GetToolServices"() return 'list';
- Service "GetToolVersion"() return 'list';
- Service "Poll"( 'string' ) return 'string';
- Service "ServiceSupported"( 'string' ) return 'undefined';
- Service "Quit"();
-
- end;
-
-